package jehc.djshi.common.base;

import lombok.Data;
import java.io.Serializable;
/**
 * @Desc 分页类
 * @Author 邓纯杰
 * @CreateTime 2012-12-12 12:12:12
 */
@Data
public class BasePage extends BaseResult implements Serializable{
	private static final long serialVersionUID = 7255593576877669235L;
	private Integer start = 0;
	private Integer page;
	private Integer pageSize = 30;
	private Long total = 0L;
	private Object data;
	private Boolean success = true;
	
	public BasePage(){}
	
	public BasePage(Integer page,Integer pageSize,Long total,Object data,Boolean success){
		this.page = page;
		this.pageSize = pageSize;
		this.total = total;
		this.data = data;
		this.success = success;
	}
	public BasePage(Integer start,Integer page,Integer pageSize,Long total,Object data,Boolean success){
		this.start = start;
		this.page = page;
		this.pageSize = pageSize;
		this.total = total;
		this.data = data;
		this.success = success;
	}
}
